package uk.ac.standrews.cs.cs2001.practical02.edwin.impl;

import java.util.Date;

import uk.ac.standrews.cs.cs2001.practical02.interfaces.IBook;
import uk.ac.standrews.cs.cs2001.practical02.interfaces.IFactory;
import uk.ac.standrews.cs.cs2001.practical02.interfaces.ILibrary;

public class Factory implements IFactory {

	public IBook makeBook(String title, String author, String isbn, Date year) {

		return new Book(title, author, isbn, year);
	}

	public ILibrary makeLibrary() {

		return new Library();
	}
}
